<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>Signin Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link href="./../public/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="./../public/css/signin.css" rel="stylesheet">
</head>

<body>

    <div class="container">

        <form class="form-signin" action="/register?_csrf={{ ctx.csrf | safe }}" method="POST">
            <h2 class="form-signin-heading">Please sign up</h2>
            <label for="inputEmail" class="sr-only">Email address</label>
            <input type="email" id="inputEmail" class="form-control" name="email" placeholder="Email address" required
                autofocus>
            <label for="inputPassword" class="sr-only">Password</label>
            <input type="password" id="inputPassword" class="form-control" name="password" placeholder="Password"
                required>
            {% if message %}
            <P>{{ message }}</P>
            {% endif %}
            <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
            <h4><a href="/login">已有账号,点击登录</h4>
        </form>

    </div>
</body>

</html>